package com.library.www.entity;

/**
 * 借书表
 */
public class BorrowBooks {
    private int id;             //编号
    private int cardId;//读者卡号
    private int bookId;//书籍编号
    private String startTime;//借书时间
    private int day;//约定天数
    private String phone;//联系电话

    public BorrowBooks (int cardId, int bookId, String startTime, int day, String phone) {
        this.cardId = cardId;
        this.bookId = bookId;
        this.startTime = startTime;
        this.day = day;
        this.phone = phone;
    }

    public BorrowBooks (int cardId) {
        this.cardId=cardId;
    }

    public int getId () {
        return id;
    }

    public void setId (int id) {
        this.id = id;
    }

    public int getCardId () {
        return cardId;
    }

    public void setCardId (int cardId) {
        this.cardId = cardId;
    }

    public int getBookId () {
        return bookId;
    }

    public void setBookId (int bookId) {
        this.bookId = bookId;
    }

    public String getStartTime () {
        return startTime;
    }

    public void setStartTime (String startTime) {
        this.startTime = startTime;
    }

    public int getDay () {
        return day;
    }

    public void setDay (int day) {
        this.day = day;
    }

    public String getPhone () {
        return phone;
    }

    public void setPhone (String phone) {
        this.phone = phone;
    }
}
